package com.yuexia.sell.dao;

import com.yuexia.sell.dataOjbect.OrderMaster;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author itmrchen
 * @date 2018/7/11 0011 下午 1:52
 * @desc ctrate by YUE XIA
 */
public interface OrderMasterDao extends JpaRepository<OrderMaster,String> {
    Page<OrderMaster> findByBuyerOpenid(String openid, Pageable pageable);

}
